package com.example.fpe_vote.db1.service;


import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.fpe_vote.common.Search;
import com.example.fpe_vote.db1.entity.PrizeInfo;
import com.example.fpe_vote.vo.request.RequestListPrizeHtVo;
import com.example.fpe_vote.vo.request.RequestListPrizeVo;
import com.example.fpe_vote.vo.request.RequestSearchPrizeInfoVo;
import com.example.fpe_vote.vo.response.ResponseListPrizeHtVo;
import com.example.fpe_vote.vo.response.ResponseListPrizeInfoVo;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author jobob
 * @since 2022-12-01
 */
public interface IPrizeInfoService extends IService<PrizeInfo> {
    //分页查询奖项
    IPage<ResponseListPrizeInfoVo> listPrize(RequestListPrizeVo vo);
    //分页查询奖项--后台
    IPage<ResponseListPrizeHtVo> listPrizeHt(RequestListPrizeHtVo vo);
    //搜索查询奖项
    List<ResponseListPrizeInfoVo> searchPrize(RequestSearchPrizeInfoVo vo);
    //根据编号查询
    PrizeInfo queryByNum(String prizeNum);
}
